<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>博客栏目管理 - 个人博客</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

</head>
<body>
<span><a href="/admin/index">返回首页</a></span> &nbsp;&nbsp;&nbsp;&nbsp; <span><a href="/wlogcate/add">添加</a></span>
<div><form action=""><input type="text" name="search" value="{if!empty($_GET['search'])}{$_GET['search']}{/if}" /><button type="submit">搜索</button></form></div>
    <table border="1">
            <td>栏目ID</td>
            <td>栏目名称</td>
            <td>栏目排序</td>
            <td>创建时间</td>
            <td>操作</td>
        </tr>
        {foreach $select as $key=>$vo }
        <tr>
            <td>{$vo.id}</td>
            <td>{$vo.cate_name}</td>
            <td>{$vo.sort}</td>
            <td>{$vo.cate_time}</td>
            <td><a href="delete/id/{$vo.id}">删除</a> &nbsp;&nbsp;&nbsp; || &nbsp;&nbsp;&nbsp; <a href="update/id/{$vo.id}">修改</a></td>
        </tr>
        {/foreach}
    </table>
    {$select|raw}
</body>
</html>